function Login() {
	"use strict" ;
	var id = document.getElementById("idInput").value;
	if(id === null || id.length === 0){
		alert("Please insert ID");
	}else{
		var pass = document.getElementById("passwordinput").value;
		
		if(pass === null || pass.length === 0){
			
			alert("Please insert Password");
			
		}else{
			
			var jsonObj={"logInData":{"userId":id,"password":pass}};
			
			var jsonStr = JSON.stringify(jsonObj);
			
			document.getElementById("logInData").value = jsonStr;
			
			document.UserInfoActionForm.submit();
			
			//window.location.href="/Sample/login.do";
			
		}
	}
	
	
	
}
